import { fetchWithAuth } from "../request";




export const getWordCloud = async () => {
    const wordData = await fetchWithAuth("api/auth/wordCloud", { action: "wordCloudDatat", params: {} }) as any

    if (!wordData.success) {
        return []
    }

    return wordData.data
}